﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TaiLieu;
using DevExpress.Xpo;
public partial class download : System.Web.UI.Page
{
    public string _Query;
    protected void Page_Load(object sender, EventArgs e)
    {
        _Query = QueryHelper.Get_Domain_1(Request);
        if (QueryHelper.Get_Domain_1(Request).Contains(Domain.localhost) == true)
        {
            TaiLieu();
            return;
        }
    }
    protected void LoadControlCenter(string path)
    {
        this.pnContext.Controls.Clear();
        this.pnContext.Controls.Add(LoadControl(path));
    }
    public void TaiLieu()
    {
        switch (QueryHelper.Get_Value(Request, 1))
        {
            case "tai-lieu":
                LoadControlCenter("localhost/TaiLieu/download.ascx");
                break;
        }
    }
}